import request from '@/utils/request'

export function getList() {
  return request({
    url: 'use/getList?status=0',
    method: 'post'
  })
}

export function add(data) {
  return request({
    url: 'use/add',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: 'use/update',
    method: 'post',
    data
  })
}

export default { add, edit }
